
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    Date:{
      type:Object,
      value:{}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    tagList: ["酒店功略", "酒店功略", "酒店功略","酒店功略"],
  },

  /**
   * 组件的方法列表
   */
  methods: {
    goDate(){
      let startDate = this.data.Date.date, endDate = this.data.Date.tomorrow;
      wx.navigateTo({
        url: `/pages/date/date?startDate=${startDate}&endDate=${endDate}`,
      })
    },
    goSearch(){
      this.triggerEvent('showSearch')
    },
    findHotel(){
      wx.navigateTo({
        url: '/pages/index/lookup/lookup',
      })
    }
  },

})
